package routers

import (
	"github.com/gin-gonic/gin"
)

func Routers() *gin.Engine {
	Router := gin.New()
	systemRouters := RouterGroupApp.System
	//全局路由前缀，后可以跟Use()
	PrivateGroup := Router.Group("")
	{
		systemRouters.InitSysWebRoleRouter(PrivateGroup) //加载User路由
		systemRouters.InitSysWebUserRouter(PrivateGroup)
	}
	return Router
}
